package com.doraro.platform.module.device.model.param;


import com.doraro.platform.common.beans.Convert;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.PositiveOrZero;
import java.math.BigDecimal;

@Data
public class RepairAdviceParam extends Convert {
    @ApiModelProperty(value = "建议id")
    private Integer id;
    @ApiModelProperty(value = "订单id")
    @NotNull
    private String orderId;

    @ApiModelProperty(value = "故障分析")
    private String repairInfo;

    @ApiModelProperty(value = "维修花费")
    @PositiveOrZero(message = "不能为负数")
    private BigDecimal cost;


}
